﻿package kr.pfg.pfgTracer.model.event
{
	import flash.events.Event;

	public class ReceiveMessageEvent extends Event
	{
		public static const DATA_RECEIVED: String = "data_received";
		public static const DATA_ERROR: String = "data_error";
		
		private var _data: Object;
		public function ReceiveMessageEvent(type:String ="", data: Object = null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super( type, bubbles, cancelable );
			_data = data == null ? {} : data;
		}
		public function get data(): Object
		{
			return _data;
		}
	}
}